﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.PartialModel
{
    public class OperationVendorConfirmationViewModel
    {
        public List<OperationVendorConfirmationGridViewModel> Rows { get; set; }
        public List<OperationVendorConfirmationRoomsGridViewModel> RoomRows { get; set; }
        public List<OperationVendorConfirmationMealsGridViewModel> MealRows { get; set; }
        public int ConfGroupID { get; set; }
        public string ConfGroupCode { get; set; }
        public int ConfVendorID { get; set; }
        public string VendorType { get; set; }
        [DisplayName("Arrival:")]
        public string ConfArrivalDate { get; set; }
        public string ConfVendorName { get; set; }
        public string ConfArrivalTime { get; set; }
        [DisplayName("Departure:")]
        public string ConfDepartureDate { get; set; }
        public string ConfDepartureTime { get; set; }
        [DisplayName("Voucher:")]
        public bool ConfVoucher { get; set; }
        [DisplayName("Confirmed By:")]
        public string ConfConfirmedBy { get; set; }
        [DisplayName("Date:")]
        public string ConfConfirmDate { get; set; }
        [DisplayName("TourLeader:")]
        public string ConfTourLeader { get; set; }
        [DisplayName("Employee:")]
        public string ConfEmployee { get; set; }
        public int ConfEmployeeId { get; set; }
        [DisplayName("Date Issued:")]
        public string ConfIssueDate { get; set; }
        [DisplayName("Est. Rooms:")]
        public string ConfRooms { get; set; }
        [DisplayName("Est. Pax:")]
        public string ConfPax { get; set; }
        public string ConfPaxPlus { get; set; }
        [DisplayName("Note:")]
        public string ConfNote { get; set; }
        [DisplayName("Luggage:")]
        public string ConfLuggage { get; set; }
        [DisplayName("Tax:")]
        public string ConfTax { get; set; }
        [DisplayName("OccTax:")]
        public string ConfOccTax { get; set; }
        [DisplayName("Gratuity:")]
        public string ConfGratuity { get; set; }
        [DisplayName("Status:")]
        public List<SelectListItem> ConfStatus { get; set; }
        public List<SelectListItem> ConfService { get; set; }
        public string ConfSelectedStatus { get; set; }
        public string VendorConfirmFile { get; set; }

    }
    [Serializable]
    public class OperationVendorConfirmationGridViewModel
    {
        public string ConfLineNo { get; set; }
        public string ConfSelServiceID { get; set; }
        public string ConfSelService { get; set; }
        public string ConfStartDate { get; set; }
        public string ConfEndDate { get; set; }
        public string ConfDescription { get; set; }
        public string ConfXQty { get; set; }
        public string ConfPrice { get; set; }
        public string ConfQty { get; set; }
        public bool ConfManual { get; set; }
    }
    [Serializable]
    public class OperationVendorConfirmationRoomsGridViewModel
    {
        public string ConfRoomDay { get; set; }
        public string ConfRoomSingleQty { get; set; }
        public string ConfRoomSinglePrice { get; set; }
        public string ConfRoomDoubleQty { get; set; }
        public string ConfRoomDoublePrice { get; set; }
        public string ConfRoomTwinQty { get; set; }
        public string ConfRoomTwinPrice { get; set; }
        public string ConfRoomTripleQty { get; set; }
        public string ConfRoomTriplePrice { get; set; }
        public string ConfRoomQuadQty { get; set; }
        public string ConfRoomQuadPrice { get; set; }
        public string ConfRoomDriverQty { get; set; }
        public string ConfRoomDriverPrice { get; set; }
        public string ConfRoomGuideQty { get; set; }
        public string ConfRoomGuidePrice { get; set; }
        public string ConfRoomBaggageQty { get; set; }
        public string ConfRoomBaggagePrice { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
    }
    public class OperationVendorConfirmationMealsGridViewModel
    {
        public string ConfMealDay { get; set; }
        public string ConfMealABFQty { get; set; }
        public string ConfMealABFPrice { get; set; }
        public bool ConfMealABFCheck { get; set; }
        public string ConfMealCBFQty { get; set; }
        public string ConfMealCBFPrice { get; set; }
        public bool ConfMealCBFCheck { get; set; }
        public string ConfMealLunchQty { get; set; }
        public string ConfMealLunchPrice { get; set; }
        public bool ConfMealLunchCheck { get; set; }
        public string ConfMealDinnerQty { get; set; }
        public string ConfMealDinnerPrice { get; set; }
        public bool ConfMealDinnerCheck { get; set; }
        public DateTime? MealStartDate { get; set; }
        public string StartDate { get; set; }
        public DateTime? MealEndDate { get; set; }
    }
}